﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Core.Licensing
{
    [Serializable]
    public class Alias
    {
		int? _id = null;
		string _nome;
		List<Company> _attachedCompanies;

        public Alias()
        {
        }

		public Alias(int id)
		{
			_id = id;
		}

		public Alias(string nome)
		{
			_nome = nome;
		}

		public Alias(int id, List<Company> attachedCompanies)
		{
			_attachedCompanies = attachedCompanies;
			_id = id;
		}

        public int? ID
        {
            get { return _id; }
            set { _id = value; }
        }
		public string Nome
        {
            get { return _nome; }
            set { _nome = value; }
        }
		public List<Company> AttachedCompanies
        {
			get { return _attachedCompanies; }
			set { _attachedCompanies = value; }
        }
    }
}